import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class HelloTest001 {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext("Beans.xml");
//        Hello hello = (Hello) applicationContext.getBean("hello");
//        System.out.println(hello.toString());
//        PeopleImpl peopleImpl = (PeopleImpl) applicationContext.getBean("peopleImpl");
//        peopleImpl.geteat();
    }
}
